#include<stdio.h>
class Clock
{
    public:
        Clock();
        void SetTime(int NewH, int NewM, int NewS);
        void ShowTime();
    private:
        int Hour, Minute, Second;
};

inline void Clock::SetTime(int NewH = 0, int NewM = 0, int NewS = 0)
{
    Hour = NewH;
    Minute = NewM;
    Second = NewS;
}

void Clock::ShowTime()
{
    printf("Hour = %d, Minute = %d, Second = %d\n", Hour, Minute, Second);
}


int main(int argc, char *argv[])
{
    Clock myClock;
    myClock.SetTime();
    myClock.ShowTime();
    myClock.SetTime(1,1,1);
    myClock.ShowTime();
    return 0;
}
